const net/http.maxPostHandlerReadBytes
6 uses
net/http (current package)
server.go#L1156: const maxPostHandlerReadBytes = 256 << 10
server.go#L1451: case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
server.go#L1462: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L987: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transfer.go#L995: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L999: if n == maxPostHandlerReadBytes {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)